g++ -Wall -O2 main.cpp -o main
./main < 0819.in > 0819.out
vim 0819.out
